package com.hmxx.myblogproject.mapper;

import com.hmxx.myblogproject.entity.MyBlogFollow;
import com.hmxx.myblogproject.entity.MyBlogUser;

import java.util.List;

/**
 * @description:
 * @Author: {27106}
 * @Date: {2021/11/25 10:32}
 */
public interface MyBlogFollowMapper {

    int insertFollow(MyBlogFollow myBlogFollow);

    MyBlogFollow queryFollow(String followedUserId, String fansUserId);

    int cancelFollow(String followedUserId, String fansUserId);

    int queryFollowsByUId(String uId);

    List<MyBlogUser> queryFansByUid(String id);
}
